Scripts (Composer)
Scripts - Composer
A script, in Composer's terms, can either be a PHP callback (defined as a static method) or any command-line executable command. Scripts are useful for executing a package's custom code or package-specific commands during the Composer execution process.
利用例
https://github.com/laravel/laravel/blob/50176732d66b197de62d5567b79fc77f63e2cfbd/composer.json#L50-L54